// Include files.
#include "DriverStationDigitalInput.hpp"

/**
 *  Constructor for DriverStationDigitalInput.
 * 	
 * 	@param driverStationIo A reference to a DriverStationEnhancedIO.  User is still reponsible for deletion of parameter.
 */
DriverStationDigitalInput::DriverStationDigitalInput(DriverStationEnhancedIO &driverStationIo, UINT32 button) :
	m_driverStationIo(driverStationIo), 
	m_button(button)
{
}

bool DriverStationDigitalInput::Get()
{
	return m_driverStationIo.GetButton(m_button);
}

DriverStationDigitalInput::~DriverStationDigitalInput()
{
}
